package com.google.wavesurferrobot.data.objects;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Stopword {
	
	@PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;
	
    @Persistent
    private String stopword;
    
    
    // Getters
    public String getStopword() {
        return this.stopword;
    }
	
    
    /* constructors */
    
    public Stopword(String stopword) {
    	init(stopword);
    }
    
    private void init(String stopword) {
    	this.stopword = stopword;
    }
}